package com.test.langchain4j.service;

import dev.langchain4j.service.MemoryId;
import dev.langchain4j.service.UserMessage;

/**
 * Created with IntelliJ IDEA.
 *
 * @description:
 * @author: liuziyang
 * @since: 2025/8/1 15:59
 * @modifiedBy:
 * @version: 1.0
 */
public interface ChatPersistenceAssistant {
  /**
   * 聊天
   *
   * @param userId 用户 ID
   * @param message 消息
   * @return {@link String }
   */
  String chat(@MemoryId Long userId, @UserMessage String message);
}
